package com.dzx.design.behavioral.strategy;

/**
 * @author dzx
 * @ClassName:
 * @Description:
 * @date 2019年08月14日 11:20:52
 */
public class PromotionActivity {
     private  PromotionStrategy promotionStrategy;

    public PromotionActivity(PromotionStrategy promotionStrategy) {
        this.promotionStrategy = promotionStrategy;
    }

    public void executePromotionStrategy(){
         promotionStrategy.doPromotion();
    }
}
